package com.vm.classloader;


import sun.misc.Launcher;
import sun.misc.URLClassPath;

import java.net.URL;

public class Client {
    public static void main(String[] args) {
//        //获取引导类加载器
//        URL[] urLs = Launcher.getBootstrapClassPath().getURLs();
//        for (URL urL : urLs) {
//            System.out.println(urL);
//        }

        //获取扩展类加载器
        //D:\xxx\jdk\jre\lib\ext;
        //C:\WINDOWS\Sun\Java\lib\ext
        String path = System.getProperty("java.ext.dirs");
        System.out.println(path);
    }
}
